package logic

import "github.com/dgrijalva/jwt-go"
import "fmt"

func ParseToken(tk string) jwt.MapClaims {
	tokenInfo, _ := jwt.Parse(tk, func(token *jwt.Token) (i interface{}, e error) {
		return "", nil
	})
	claims := tokenInfo.Claims.(jwt.MapClaims)
	fmt.Printf("claims:%#v\n", claims)
	return claims
}
